package com.cnhis.cloudhealth.clinical.clidoctor.doctoradviceinfo.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.cnhis.cloudhealth.commons.dao.BaseDao;
import com.cnhis.cloudhealth.commons.utils.Page;
@SuppressWarnings("rawtypes")
@Repository
public class DoctorAdviceInfoDao extends BaseDao {
    public Page patientDoctorAdviceInfo(Map map,int currentPage,int pageSize)throws Exception{
		return this.queryForPage("DoctorAdvice.patientDoctorAdviceInfo", map, currentPage, pageSize, "DoctorAdvice.patientDoctorAdviceInfoCount");
	}
    
    public List getPatientsDoctorAdvice(Map map) throws Exception{
    	
    	return this.queryForList("DoctorAdvice.getPatientsDoctorAdvice", map);
    }
    public List getPatientsDoctorAdvice1(Map map) throws Exception{

        return this.queryForList("DoctorAdvice.getPatientsDoctorAdvice1", map);
    }
    public List checkOutPatientDoctorAdvice(Map map)throws Exception{
    	return this.queryForList("DoctorAdvice.checkOutPatientDoctorAdvice", map);
    }
    
    public List checkHospitalPatientDoctorAdvice(Map map)throws Exception{
    	return this.queryForList("DoctorAdvice.checkHospitalPatientDoctorAdvice", map);
    }
    
    public Page checkPatientCancellationDoctorAdvice(Map map,int currentPage,int pageSize)throws Exception{
    	return this.queryForPage("DoctorAdvice.checkPatientCancellationDoctorAdvice", map, currentPage, pageSize, "DoctorAdvice.checkPatientCancellationDoctorAdviceCount");
    }
    
    public Page valuationDoctorAdvice(Map map,int currentPage,int pageSize)throws Exception{
    	return this.queryForPage("DoctorAdvice.valuationDoctorAdvice", map, currentPage, pageSize, "DoctorAdvice.valuationDoctorAdviceCount");
	}
	
    public Page hospitalValuationDoctorAdvice(Map map,int currentPage,int pageSize)throws Exception{
    	return this.queryForPage("DoctorAdvice.hospitalValuationDoctorAdvice", map, currentPage, pageSize, "DoctorAdvice.hospitalValuationDoctorAdviceCount");
	}
    
   public Page returnPremiumDoctorAdvice(Map map,int currentPage,int pageSize)throws Exception{
	   return this.queryForPage("DoctorAdvice.returnPremiumDoctorAdvice", map, currentPage, pageSize, "DoctorAdvice.returnPremiumDoctorAdviceCount");
    }
   public List getDoctorAdviceType(Map map)throws Exception{
   	 return this.queryForList("DoctorAdvice.getDoctorAdviceType", map);
   }
   
   public List getDoctorAdvicePrescriptionNature()throws Exception{
	   return this.queryForList("DoctorAdvice.getDoctorAdvicePrescriptionNature", null);
   }
   public List clinicalDoctorDiagnosis(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.clinicalDoctorDiagnosis", map);
   }
   public List hospitalDoctorDiagnosis(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.hospitalDoctorDiagnosis", map);
   }
   public List patientSuccessiveDoctorAdviceRecord(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.patientSuccessiveDoctorAdviceRecord", map);
   }
   public List getPatientConsultContent(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.getPatientConsultContent", map);
   }
   public List medicalItemType(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.medicalItemType", null);
   }
   public List doctorAdvicePrescriptionProperty(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.doctorAdvicePrescriptionProperty", map);
   }
   public List doctorAdvicePrescriptionPropertyFull(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.doctorAdvicePrescriptionPropertyFull", map);
   }
   public List getCMB01(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.getCMB01", map);
   }
   public List doctorAdviceDetail(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.doctorAdviceDetail", map);
   }
   public List sendAdviceHistory(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.sendAdviceHistory", map);
   }
   public List queryOperationScheduled(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.queryOperationScheduled", map);
   }
   public Map getBBY01AndBCK01B(Map map)throws Exception{
	   return (Map) this.queryToObject("DoctorAdvice.getBBY01AndBCK01B", map);
   }
   public Float getBBY25(Map map)throws Exception{
	   return (Float) this.queryToObject("DoctorAdvice.getBBY25", map);
   }
   public List  queryDoctorAdvicePriceContent(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.queryDoctorAdvicePriceContent", map);
   }
   public List doctorAdviceExecuteProperty(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.doctorAdviceExecuteProperty", map);
   }
   public String getABC02(Map map)throws Exception{
	  return (String) this.queryToObject("DoctorAdvice.getABC02", map);
   }
   public List doctorAdvicePriceInfo(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.doctorAdvicePriceInfo", map);
   }
   public List medicalType(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.medicalType", map);
   }
   public String paramABC02(Map map)throws Exception{
	   return (String) this.queryToObject("DoctorAdvice.paramABC02", map);
   }
   public String paramABC021(Map map)throws Exception{
	   return (String) this.queryToObject("DoctorAdvice.paramABC021", map);
   }
   public List inspectionAdviceFeeDetail(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.inspectionAdviceFeeDetail", map);
   }
   public List  adviceBusinessScope(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.adviceBusinessScope", map);
   }
   public List getBarCode(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.getBarCode", map);
   }
   public List hasInspectionBody(Map map)throws Exception{
	   return this.queryForList("DoctorAdvice.hasInspectionBody", map);
   }
   public List getCheckBodyById(Map map)throws Exception{
	   return queryForList("DoctorAdvice.getCheckBodyById", map);
   }
   public List getCheckBody(Map map)throws Exception{
	   return queryForList("DoctorAdvice.getCheckBody", map);
   }
   public List getCheckBodymethod(Map map)throws Exception{
	   return queryForList("DoctorAdvice.getCheckBodymethod", map);
   }
   public List combinedDetail(Map map)throws Exception{
	   return queryForList("DoctorAdvice.combinedDetail", map);
   }
   public List patientAdviceState(Map map)throws Exception{
	   return queryForList("DoctorAdvice.patientAdviceState", map);
   }
   public List queryAdviceHistory(Map map)throws Exception{
	   return queryForList("DoctorAdvice.queryAdviceHistory", map);
   }
   public Map  getVAF01A(Map map)throws Exception{
	   return (Map) queryForExtObject("DoctorAdvice.getVAF01A", map);
   }
   public String para80g()throws Exception{
	   return (String) queryForExtObject("DoctorAdvice.para80g", null);
   }
   public List getAdviceHistory(Map map)throws Exception{
	   return queryForList("DoctorAdvice.getAdviceHistory", map);
   }
   public List queryGuard(Map map)throws Exception{
	   return queryForList("DoctorAdvice.queryGuard", map);
   }

public List sendadvicehistory_vaf(HashMap hs) throws Exception
{
    return this.queryForList("DoctorAdvice.sendadvicehistory_vaf", hs);
}

public List sendadvicehistory_vaf1(HashMap hs) throws Exception
{
    return this.queryForList("DoctorAdvice.sendadvicehistory_vaf1", hs);
}

public List queryJiaohaolist(HashMap map) throws Exception
{
    return queryForList("DoctorAdvice.queryJiaohaolist", map);
}

}
